package com.yw.swagger.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(description = "通知实体类")
public class SpNotice {

  @ApiModelProperty(value = "通知Id" ,hidden = true)
  private long id;
  @ApiModelProperty(value = "生成的编号（uuid）",hidden = true)
  private String noticeId;
  @ApiModelProperty(value = "标题",example = "标题")
  private String title;

  @ApiModelProperty(value = "通知内容",example = "这是一个无聊发的邮件")
  private String NContent;

  @ApiModelProperty(value = "发送时间",hidden = true)
  private String NTime;
  @ApiModelProperty(hidden = true)
  private Date showTime;
  @ApiModelProperty(value = "发信人", example = "sa")
  private String fromUser;
  @ApiModelProperty(value = "收信人",example = "sa")
  private String toUser;
  @ApiModelProperty(value = "收信人回复内容",example = "我也好无聊")
  private String answerContent;
  @ApiModelProperty(value = "收信人回复时间",hidden = true)
  private Date answerTime;
  @ApiModelProperty(value = "收信人是否查看",hidden = true)
  private String answerFlag;
  @ApiModelProperty(value = "收件人是否删除",hidden = true)
  private String answerDel;
  @ApiModelProperty(value = "发信人是否删除",hidden = true)
  private String sendDel;
  @ApiModelProperty(hidden = true)
  private String flg;
  @ApiModelProperty(hidden = true)
  private long sfqs;
  @ApiModelProperty(value = "发件填写的联系人",example = "sa")
  private String lxr;
  @ApiModelProperty(value = "发件时填写的联系电话",example = "110")
  private String lxdh;

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(String noticeId) {
    this.noticeId = noticeId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getNContent() {
    return NContent;
  }

  public void setNContent(String NContent) {
    this.NContent = NContent;
  }

  public String getNTime() {
    return NTime;
  }

  public void setNTime(String NTime) {
    this.NTime = NTime;
  }

  public Date getShowTime() {
    return showTime;
  }

  public void setShowTime(Date showTime) {
    this.showTime = showTime;
  }

  public String getFromUser() {
    return fromUser;
  }

  public void setFromUser(String fromUser) {
    this.fromUser = fromUser;
  }

  public String getToUser() {
    return toUser;
  }

  public void setToUser(String toUser) {
    this.toUser = toUser;
  }

  public String getAnswerContent() {
    return answerContent;
  }

  public void setAnswerContent(String answerContent) {
    this.answerContent = answerContent;
  }

  public Date getAnswerTime() {
    return answerTime;
  }

  public void setAnswerTime(Date answerTime) {
    this.answerTime = answerTime;
  }

  public String getAnswerFlag() {
    return answerFlag;
  }

  public void setAnswerFlag(String answerFlag) {
    this.answerFlag = answerFlag;
  }

  public String getAnswerDel() {
    return answerDel;
  }

  public void setAnswerDel(String answerDel) {
    this.answerDel = answerDel;
  }

  public String getSendDel() {
    return sendDel;
  }

  public void setSendDel(String sendDel) {
    this.sendDel = sendDel;
  }

  public String getFlg() {
    return flg;
  }

  public void setFlg(String flg) {
    this.flg = flg;
  }

  public long getSfqs() {
    return sfqs;
  }

  public void setSfqs(long sfqs) {
    this.sfqs = sfqs;
  }

  public String getLxr() {
    return lxr;
  }

  public void setLxr(String lxr) {
    this.lxr = lxr;
  }

  public String getLxdh() {
    return lxdh;
  }

  public void setLxdh(String lxdh) {
    this.lxdh = lxdh;
  }

  @Override
  public String toString() {
    return "SpNotice{" +
            "id=" + id +
            ", noticeId='" + noticeId + '\'' +
            ", title='" + title + '\'' +
            ", NContent='" + NContent + '\'' +
            ", NTime='" + NTime + '\'' +
            ", showTime=" + showTime +
            ", fromUser='" + fromUser + '\'' +
            ", toUser='" + toUser + '\'' +
            ", answerContent='" + answerContent + '\'' +
            ", answerTime=" + answerTime +
            ", answerFlag='" + answerFlag + '\'' +
            ", answerDel='" + answerDel + '\'' +
            ", sendDel='" + sendDel + '\'' +
            ", flg='" + flg + '\'' +
            ", sfqs=" + sfqs +
            ", lxr='" + lxr + '\'' +
            ", lxdh='" + lxdh + '\'' +
            '}';
  }
}
